<%@ page language="java" pageEncoding="ISO-8859-1"%>

<%@ page import="java.io.*"%>

<%

        System.out.print("enter...");

        String filePath = "C:/Users/Administrator/AppData/Roaming/Tencent/QQ/Misc/com.tencent.advertisement/GDT_0/e2674d5f12ea6eba27bb354a8c89508b.gif";

File file = new File(filePath);

InputStream fis;

try {

fis = new FileInputStream(file);

byte[] buf=new byte[(int)fis.available()];

fis.read(buf);

response.setContentType("application/binary;charset=ISO8859_1");

            OutputStream outs = response.getOutputStream();

            outs.write(buf);

            outs.flush();

            out.clear();

            out = pageContext.pushBody();

} catch (FileNotFoundException e) {

e.printStackTrace();

} catch (IOException e) {

e.printStackTrace();

}

%>